package com.wanjia.bpsapi.constant;

import com.wanjia.bpsapi.service.IMapService;
import com.wanjia.bpsapi.service.impl.BaiduMapServiceImpl;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.function.Supplier;

@AllArgsConstructor
@Getter
public enum MapService {

    /**
     * 百度地图服务
     */
    BAIDU(BaiduMapServiceImpl::new);

    private final Supplier<? extends IMapService> builder;
}
